Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Tue, 9 Dec 2025 08:47:23 +0000 (09:47 +0100)
committerMatthias Klose <doko@debian.org>
Tue, 9 Dec 2025 08:47:23 +0000 (09:47 +0100)
Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

ld/Makefile.am
ld/Makefile.in

index c006448bdcaf29640abcb49f4bd07266af3d7992..6bf4c69451b66831a916d2fcedc6a291b255074b 100644 (file)
@@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
 # We put the scripts in the directory $(scriptdir)/ldscripts.
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
 # directives need to be different for native and cross linkers.
-scriptdir = $(tooldir)/lib
+scriptdir = $(libdir)
 
 EMUL = @EMUL@
 EMULATION_OFILES = @EMULATION_OFILES@
index 0acf5f473e22b7a0414022b3e89059b44d6bbafd..7014d52e3b84a1f972afc292d6f4ec182fd68af1 100644 (file)
@@ -586,7 +586,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
 # We put the scripts in the directory $(scriptdir)/ldscripts.
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
 # directives need to be different for native and cross linkers.
-scriptdir = $(tooldir)/lib
+scriptdir = $(libdir)
 BASEDIR = $(srcdir)/..
 BFDDIR = $(BASEDIR)/bfd
 INCDIR = $(BASEDIR)/include